﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true"
    CodeFile="HoSoChoKyDuyet.aspx.cs" Inherits="Modules_HoSoChoKyDuyet" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div class="content-holder">
        <div class="div-content">
            <div class="div-search">
                <div style="float: right; margin-bottom: 0px; clear: both; padding: 5px 0px 5px 0px;
                    padding-left: 2px; border: 0px solid #CDCDCD; height: auto; width: 997px;">
                    <asp:Panel ID="PnDrControl" runat="server" Visible="false">
                        <table cellpadding="3" cellspacing="3" style="float: left;">
                            <tr>
                                <td>
                                    <asp:DropDownList ID="CbDepartment" runat="server" Height="27px" Width="200px" AutoPostBack="True">
                                    </asp:DropDownList>
                                    &nbsp;
                                </td>
                                <td>
                                    <asp:CheckBox ID="CkShowOwnerOnly" runat="server" Text="Chỉ hiện các hồ sơ là người ký"
                                        AutoPostBack="true" Checked="True" />
                                    &nbsp;
                                </td>
                            </tr>
                        </table>
                    </asp:Panel>
                </div>
                <div class="div-title-content">
                    Danh sách hồ sơ chờ ký duyệt
                </div>
            </div>
        </div>
        <div style="width: auto; height: auto; clear: both;">
            <table class="repeater-hover" style="width: 100%; background-color: #ddd;" cellspacing="1" class="data">
                <tr class="tr-header">
                    <td>
                        STT
                    </td>
                    <td>
                        Mã hồ sơ
                    </td>
                    <td>
                        Tên dịch vụ
                    </td>
                    <td>
                        Cá nhân tổ chức nộp HS
                    </td>
                    <td>
                        Phòng ban
                    </td>
                    <td>
                        Ngày chuyển ký
                    </td>
                    <td>
                        Người ký
                    </td>
                    <td>
                        Thao tác
                    </td>
                </tr>
                <asp:Repeater runat="server" ID="rptProfiles" OnItemCommand="rptProfiles_ItemCommand">
                    <ItemTemplate>
                        <tr>
                            <td>
                                <%#  Container.ItemIndex + start+1  %>
                            </td>
                            <td>
                                <%# Eval("ProfileCode") %>
                            </td>
                            <td style="width: 220px;">
                                <%# Eval("ServiceName") %>
                            </td>
                            <td>
                                <%# Eval("SubscriberName") %>
                            </td>
                            <td>
                                <%# Eval("DeptName")%>
                            </td>
                            <td>
                                <%# Eval("MoveToSign", "{0:dd/MM/yyyy}")%>
                            </td>
                            <td>
                                <%# Eval("Signer")%>
                            </td>
                            <td style="width:65px;">
                                <asp:LinkButton ID="lbtnSign" Text="Ký hồ sơ" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                    Style="display: block" runat="server" />
                            </td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
                <% if (rptProfiles.Items.Count == 0)
                   { %>
                <tr>
                    <td colspan="7">
                        <div class="empty-list">
                            Hiện tại chưa có dữ liệu...</div>
                    </td>
                </tr>
                <% } %>
            </table>
        </div>
        <div style="width: auto; height: 15px; clear: both; color: Red; margin: 5px 0px 5px 10px;
            padding: 0px 0px 0px 20px;">
            <asp:Label ID="lbMessage" runat="server" Text=""></asp:Label>
        </div>
        <div>
            <div id="divPagination" runat="server">
                <div id="pagination">
                    <webdiyer:AspNetPager runat="server" ID="AspNetPager1" HorizontalAlign="Center" PagingButtonSpacing="8px"
                        CssClass="tsc_pagination tsc_paginationA tsc_paginationA01" UrlPaging="false"
                        PrevNextButtonsClass="previous" Width="100%" PagingButtonType="Text" NumericButtonType="Text"
                        FirstPageText="Trang đầu" LastPageText="Trang cuối" NextPageText="Sau" PrevPageText="Trước"
                        ShowMoreButtons="true" NavigationButtonType="Text" ButtonImageExtension="gif"
                        ButtonImageNameExtension="n" ShowCustomInfoSection="Never" DisabledButtonImageNameExtension="g"
                        ShowNavigationToolTip="true" UrlPageIndexName="p" OnPageChanged="AspNetPager1_PageChanged">
                    </webdiyer:AspNetPager>
                </div>
            </div>
        </div>
    </div>
</asp:Content>
